package renthouse.entry;/*
 * @创建者：黄苟苟
 * @创建时间：2021/5/18   17:50
 * @Description描述 房屋
 **/



public class House {
    private int houseid;
    private int masterid;
    private String address;
    private String state;
    private String style;
    private int rent;


    /*构造器*/

    public House() {
    }

    public House(int houseid, int masterid, String address, String state, String style, int rent) {
        this.houseid = houseid;
        this.masterid = masterid;
        this.address = address;
        this.state = state;
        this.style = style;
        this.rent = rent;
    }


    @Override
    public String toString() {
        return "House{" +
                "houseid=" + houseid +
                ", masterid=" + masterid +
                ", address='" + address + '\'' +
                ", state='" + state + '\'' +
                ", style='" + style + '\'' +
                ", rent=" + rent +
                '}';
    }
    /*getset方法*/

    public int getHouseid() {
        return houseid;
    }

    public void setHouseid(int houseid) {
        this.houseid = houseid;
    }

    public int getMasterid() {
        return masterid;
    }

    public void setMasterid(int masterid) {
        this.masterid = masterid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public int getRent() {
        return rent;
    }

    public void setRent(int rent) {
        this.rent = rent;
    }
}
